import 'package:flutter/material.dart';
import 'package:get/get.dart';

class MallUpAddrerss extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
           appBar: AppBar(
            backgroundColor: Color(0xffffffff),
            title: Text('编辑收货地址'),
            centerTitle: true
          ),
          body: Column(

            children: [
              Container(
                margin: EdgeInsets.symmetric(horizontal: 15),
                padding: EdgeInsets.symmetric(horizontal: 15),
                decoration: BoxDecoration(
                  color: Color(0XFFF8F9FD),
                  borderRadius: BorderRadius.circular(10)
                ),
                child: Column(
                  children: [
                    Row(
                      children: [
                        Text('收货人',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                        Expanded(child: 
                        TextField(
                            style: TextStyle(fontSize: 14),
                            decoration: InputDecoration(
                              isCollapsed: true,//设置高度
                              contentPadding: EdgeInsets.all(15),
                              hintStyle: TextStyle(
                                  color: Color(0xff999999)),
                              border: InputBorder.none, // 隐藏输入框默认边框
                              hintText: '请输入真实姓名', // 提示文本
                            ),
                          )
                        )
                        
                      ],
                    ),
                    Row(
                      children: [
                        Text('手机号码',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                        Expanded(child: 
                        TextField(
                            style: TextStyle(fontSize: 14),
                            decoration: InputDecoration(
                              isCollapsed: true,//设置高度
                              contentPadding: EdgeInsets.all(15),
                              hintStyle: TextStyle(
                                  color: Color(0xff999999)),
                              border: InputBorder.none, // 隐藏输入框默认边框
                              hintText: '请输入手机号码', // 提示文本
                            ),
                          )
                        )
                        
                      ],
                    ),
                    Row(
                      children: [
                        Text('所在地区',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                        Expanded(child: 
                        TextField(
                            style: TextStyle(fontSize: 14),
                            decoration: InputDecoration(
                              isCollapsed: true,//设置高度
                              contentPadding: EdgeInsets.all(15),
                              hintStyle: TextStyle(
                                  color: Color(0xff999999)),
                              border: InputBorder.none, // 隐藏输入框默认边框
                              hintText: '省、市、区、街道', // 提示文本
                            ),
                          )
                        ),

                        Icon(
                          Icons.location_on,
                          color: Color(0XFF999999),
                          size:13
                        ),
                        Text('请选择',style: TextStyle(fontSize: 12,color: Color(0XFF999999))),
                      ],
                    ),
                     Row(
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        Container(
                          padding: EdgeInsets.only(top: 12),
                          child: Text('所在地区',style: TextStyle(fontSize: 14,color: Color(0XFF0F172B))),
                        ),
                        Expanded(child: 
                        TextField(
                            maxLines:null,
                            minLines: 3,
                            style: TextStyle(fontSize: 14),
                            decoration: InputDecoration(
                              isCollapsed: true,//设置高度
                              contentPadding: EdgeInsets.all(15),
                              hintStyle: TextStyle(
                                  color: Color(0xff999999)),
                              border: InputBorder.none, // 隐藏输入框默认边框
                              hintText: '小区楼栋/乡村名称', // 提示文本
                            ),
                          )
                        ),
                      ],
                    ),
                  ],
                ),
              ),
              Expanded(child: SizedBox()),
              GestureDetector(
                onTap: ()=>{
                  Get.toNamed('/web_tabs/shopping/mall_up_addrerss')
                },
                child:  Container(
                margin: EdgeInsets.symmetric(horizontal: 15,vertical: 10),
                height: 50,
                alignment: Alignment.center,
                decoration: BoxDecoration(
                  color: Color(0XFF0F172B),
                  borderRadius: BorderRadius.circular(50)
                ),
                child: Text('确定',style: TextStyle(fontSize: 18,color: Color(0XFFFFFFFF))),
              ),
              )
            ],
          ),
    );
  }
}